package jzqb.service.impl;

import jzqb.dao.IZTreeDao;
import jzqb.po.AdminDepartmentPo;
import jzqb.service.IZTreeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Description:
 *
 * @author BaiGe
 * @date: 2021/4/9 16:20
 * @Version 1.0
 */
@Service
public class ZTreeServiceImpl implements IZTreeService {
    @Autowired
    private IZTreeDao treeDao;
    @Override
    public List<AdminDepartmentPo> getDeptTree() {
        return treeDao.getDeptTree();
    }

}
